import * as actionTypes from '../actionTypes'
// 同步 
export const doLoginAction = () => ({
    type:actionTypes.USER_LOGIN_SUCCESS
})

export const doAsyncLoginAction = () => {
    return (dispatch) => {
        setTimeout(() => {
            dispatch(doLoginAction())
        })
    }
}